import java.util.Scanner;

public class vip {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        String x;
        System.out.println("您是会员吗");
        x = s.next();
        int n;
        System.out.println("请输入总金额");
        n = s.nextInt();
        if (x.equals("yes")) {
            if (n < 100) {
                System.out.println("打九折");
                System.out.println("你需要支付"+":"+n * 0.9);
            }
            if (n > 100) {
                System.out.println("打八折");
                System.out.println("你需要支付"+":"+n * 0.8);
            }
        }
        if(x.equals("no")){
            if (n < 100) {
                System.out.println(n);
                System.out.println(n);
            }
            if (n > 100) {
                System.out.println("打九折");
                System.out.println("你需要支付"+":"+n * 0.9);
            }

        }
    }
}

